package de.moc.server;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public final class EMF {
	private static final EntityManagerFactory emfInstance = Persistence
				.createEntityManagerFactory("Survey");

	private EMF() {
	}

	public static EntityManager getEntityManager() {

		return emfInstance.createEntityManager();
	}
}